package com.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 楼宇
 *
 * @TableName building
 */
@TableName(value = "building")
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Building extends CommonProperty implements Serializable {
    /**
     * 楼宇id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 楼宇名称
     */
    @TableField(value = "name")
    private String name;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}